import java.util.Arrays;
import java.util.Scanner;

public class h_46 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String str1=sc.nextLine();
        String str2=sc.nextLine();

        /*****java实现***************/
        System.out.println("java实现：" + str1 + str2);

        char[] arrStr1 = str1.toCharArray();
        char[] arrStr2 = str2.toCharArray();

        char[] arrStrSum = new char[arrStr1.length + arrStr2.length];

        for (int i = 0; i < arrStrSum.length; i++) {
            if (i < str1.length()) {
                arrStrSum[i] = arrStr1[i];
            } else {
                arrStrSum[i] = arrStr2[i - str1.length()];
            }
        }
        System.out.println(Arrays.toString(arrStrSum));

    }
}
